package com.zjitc.bookshop39.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.zjitc.bookshop39.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.Select;

/**
 * 用户Mapper接口
 */

public interface UserMapper extends BaseMapper<User> {
    @Select("select * from sys_user where username = #{username}")
    User getUserByName(String username);
} 